_[90]={
	$:function(d){
		_(d);
	}
};
_[91]={
		$:function(d){
			_(d);
		}
	};
_[98]={
	$:function(d){
		var r=d.rows;
		var o=r[2].firstChild.lastChild;
		this._a=r[1].firstChild.firstChild;
		this._c=r[0].firstChild;
		this._d=this._c.nextSibling;
		this._c=this._c.firstChild;
		this._d.buddy=this._a;
		_.Attach(o,'onclick',this,'_C');
		_.Attach(o.previousSibling,'onclick',this,'_D');
		_(d);
	},
	_a:null,
	_c:null,
	_d:null,
	_s:true,
	_C:function(d){
		var s=this._s,x=this._a.value;
		if(x){
			this._c.innerHTML+='<p>'+x;
			this._c.scrollTop=this._c.scrollHeight;
			if(s){
				_.xmlhttp.Post('/query?ct=5.6&tx='+encodeURIComponent(x)+
						'&re=.6&cs=customer',this,'_P');
				x='发送';
			}else{
				x='会话';
				this._d.innerHTML='';
			}
			d.value=x;
			this._s=!s;
		}
		this._a.value='';
	},
	_D:function(d){
		this._a.value='';
		this._c.innerHTML='';
		this._d.innerHTML='';
		this._s=true;
	},
	_P:function(d){
		var a=['<ol>'];
		var x=d.responseText.split('\n');
		while(z=x.shift()){
		}
		while(z=x.shift()){
			if(!z)
				break;
			a.push('<li>'+z);
		}
		this._d.innerHTML=a.join('')+'</ol>';
	}
};
_[99]={
	$:function(d){
		var b=d.buddy;
		if(!b){
			b=d.getAttribute('buddy');
			b=document.getElementById(b);			
		}
		this._b=b;
		_.Attach(d,'onclick',this,'_C');
	},
	_b:null,
	_C:function(d,e){
		var t=e.target;
		if(t.tagName=='LI')this._b.value=t.innerHTML;
	}
};